<!-- 
<template>
  <div class="lsh-box">
    <div class="lsh-chart" ref="chart"></div>
  </div>
</template>

<script setup lang="ts">
import { ref, onMounted } from "vue";
import * as echarts from 'echarts';
import { chartOption } from './config';
const chart = ref();
let myChart: echarts.ECharts;
const init = () => {
  myChart = echarts.init(chart.value);
  myChart.setOption(chartOption())
};
onMounted(() => {
  init();
});
</script>
<style scoped lang="less">
.lsh-box {
  height: 100%;
  width: 100%;
  .lsh-chart{
    height: 100%;
    width: 100%;
  }
}
</style> -->
